package com.biyu.monitormanage.common.utils;

import java.util.HashMap;
import java.util.Map;


/**
 * Map工具类
 *
 * @author 15491
 */
public class MapUtils extends HashMap<String, Object> {

    @Override
    public MapUtils put(String key, Object value) {
        super.put(key, value);
        return this;
    }

    public static Map<String, Object> savaParams(Map<String, Object> paramsMap, String params) {
        String[] split = params.split(",");
        for (String s : split) {
            paramsMap.put(s, "val");
        }
        return paramsMap;
    }
}